﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true"
    CodeBehind="MyAccount.aspx.cs" Inherits="ProjectSem3.Admin.WebForm15" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentTabs" runat="server">
    <ul>
        <li><a href="MyAccount.aspx" class="current"><span>Information</span></a></li>
        <li><a href="MyAccountEdit.aspx" ><span>Edit</span></a></li>
        <li><a href="MyAccountOrders.aspx"><span>Orders</span></a></li>
    </ul>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="contentPage" runat="server">
    <div class="grid_9">
        <h1 class="dashboard">
            user info
        </h1>
    </div>
    
    <div class="portlet">
        <div class="portlet-content nopadding">
            <table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" summary="Employee Pay Sheet">
                <tr>
                    <th>
                        Full name
                    </th>
                   <td>
                        <%= emp.FullName %>
                    </td>
                </tr>
                <tr>
                    <th>
                        Birthday
                    </th>
                    <td>
                        <%=emp.BirthDay %>
                    </td>
                </tr>
                <tr>
                    <th>
                        Gender
                    </th><td>
                        <%=emp.Gender==true?"Male":"Female" %>
                    </td>
                </tr>
                <tr>
                    <th>
                        Email
                    </th> <td>
                        <%=emp.Email %>
                    </td>
                </tr>
                <tr>
                    <th>
                        Address
                    </th>    
                    <td>
                        <%=emp.Address %>
                    </td>
                </tr>
                <tr>
                    <th>
                        Phone
                    </th> <td>
                        <%=emp.Phone %>
                    </td>
                </tr>
                <tr>
                    <th>
                        Salary
                    </th>   
                    <td>
                        <%=emp.Salary%>
                    </td>
                </tr>
                <tr>
                    <th>
                        Role
                    </th> <td>
                        <%=emp.Role.Name %>
                    </td>
                </tr>
                <tr>
                    <th>
                        Time login
                    </th> 
                    <td>
                        <%=emp.TimeLogin %>
                    </td>
                </tr>
                
            </table>
            <asp:Button ID="btnUpdate" runat="server" Text="Update" 
                onclick="btnUpdate_Click" />
        </div>
    </div>
     <script type="text/javascript">

         $('#content').css('padding', '0px');
      
    </script>
</asp:Content>
